﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="uInformation.aspx.cs" Inherits="user_Default" EnableEventValidation="false"%>
<%@ Register Src="uControls/uTop.ascx" TagName="uTop" TagPrefix="uc1" %>
<%@ Register Src="uControls/uLeft.ascx" TagName="uLeft" TagPrefix="uc2" %>
<%@ Register Src="uControls/uBottom.ascx" TagName="uBottom" TagPrefix="uc3" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>中国过滤布名城－用户管理后台</title>
   <link rel="stylesheet" href="images/member.css" type="text/css" />
   <SCRIPT language=javascript>
function doCheckAll(obj){
var form = obj.form;
for (var i=0;i<form.elements.length;i++){
var e = form.elements[i];
e.checked = obj.checked;
}
}
</SCRIPT>
         <SCRIPT>
function loadThreadFollow(t_id,b_id){
	var targetImg =eval("document.all.followImg" + t_id);
	var targetDiv =eval("document.all.follow" + t_id);
	if ("object"==typeof(targetImg)){
		if (targetDiv.style.display!='block'){
			targetDiv.style.display="block";
			
		}else{
			targetDiv.style.display="none";
		}
	}
}
</SCRIPT>
</head>
<body>
 <form id="form1" runat="server">

 <uc1:uTop ID="uTop1" runat="server" />
<style type="text/css">
<!--
.ff {color: #FF0000}
-->
</style>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
  <TBODY>
  <TR>
    <TD class=bubg vAlign=top align=middle width=150>
      <uc2:uLeft ID="uLeft1" runat="server" />
      </TD>
    <TD class=righttd vAlign=top align=middle>
    <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#d4d0c8">
  <tr>
    <td height="35" colspan="2" bgcolor="#e1f0ff" class="xhx"  style="padding-left:30px; font-size:14px;"><strong>--基本信息--</strong></td>
  </tr>
  <tr>
    <td width="15%" height="35" align="right" bgcolor="#f4f3ee" class="xhx"><span class="ff">*</span>企业名称：</td>
    <td width="85%" align="left" bgcolor="#FBFBF9" class="xhx">
        
        <asp:TextBox ID="txtCompany" runat="server" Width="333px"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtCompany"
            Display="Dynamic" ErrorMessage="请输入企业名称！"></asp:RequiredFieldValidator>
    <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="txtCompany"
            Display="Dynamic" ErrorMessage="企业名称为4到120个字符" ValidationExpression="[\u4e00-\u9fa5A-Za-z0-9_]{4,120}"></asp:RegularExpressionValidator>请填写贵公司的中文全称（4-120个字）。</td>
  </tr>
  <tr>
    <td height="35" align="right" bgcolor="#f4f3ee" class="xhx">关键字：</td>
    <td align="left" bgcolor="#FBFBF9" class="xhx"> <asp:TextBox ID="txtkeywords" runat="server" Height="50px" Width="400px" TextMode="MultiLine"></asp:TextBox></td>
  </tr>
  <tr>
    <td height="35" align="right" bgcolor="#f4f3ee" class="xhx">企业标志：</td>
    <td align="left" bgcolor="#FBFBF9" class="xhx"><asp:TextBox ID="txtLogoImg" runat="server" Width="169px"></asp:TextBox><SPAN id=followImg1 style="CURSOR: hand"  onclick=loadThreadFollow(1,5)>上传图片↓</SPAN></td>
  </tr>
    <tr  id=follow1 style="DISPLAY: none">
    <td height="35" align="right" bgcolor="#f4f3ee" class="xhx"></td>
    <td align="left" bgcolor="#FBFBF9" class="xhx"><asp:FileUpload ID="FileUpload1" runat="server" Width="247px"  Height="22" />
      <asp:Button ID="UpImg" runat="server" Text="上传" OnClick="UpImg_Click"/> </td>
  </tr>
  <tr>
    <td height="35" align="right" bgcolor="#f4f3ee" class="xhx"><span class="ff">*</span>主营行业：</td>
    <td align="left" bgcolor="#FBFBF9" class="xhx">
    
   
     <asp:DropDownList ID="dl_One" runat="server" AutoPostBack="True" AppendDataBoundItems="True" OnSelectedIndexChanged="dl_One_SelectedIndexChanged" Width="120px">
     <asp:ListItem Value="0">全部</asp:ListItem>
    </asp:DropDownList>
    <asp:DropDownList ID="dl_Two" runat="server" AutoPostBack="True" AppendDataBoundItems="True" OnSelectedIndexChanged="dl_Two_SelectedIndexChanged" Width="120px">
    <asp:ListItem Value="0">全部</asp:ListItem>
    </asp:DropDownList>
    <asp:DropDownList ID="dl_Three" runat="server" Width="120px" AppendDataBoundItems="True">
    <asp:ListItem Value="0">全部</asp:ListItem>
    </asp:DropDownList>   
          </td>
  </tr>
  <tr>
    <td height="35" align="right" bgcolor="#f4f3ee" class="xhx">主营方向：</td>
    <td align="left" bgcolor="#FBFBF9" class="xhx">
        <asp:RadioButtonList ID="RadioButtonList1" runat="server" RepeatDirection="Horizontal"
            RepeatLayout="Flow">
            <asp:ListItem Value="销售">销售</asp:ListItem>
            <asp:ListItem Value="采购">采购</asp:ListItem>
            <asp:ListItem Value="两者都有">两者都有</asp:ListItem>
    </asp:RadioButtonList></td>
  </tr>
  <tr>
    <td height="35" align="right" bgcolor="#f4f3ee" class="xhx"><span class="ff">*</span>销售的产品：</td>
    <td align="left" bgcolor="#FBFBF9" class="xhx">
    <asp:TextBox ID="txtSale" runat="server" Width="455px"></asp:TextBox></td>
  </tr>
  <tr>
    <td height="35" align="right" bgcolor="#f4f3ee" class="xhx"><span class="ff">*</span>采购的产品：</td>
    <td align="left" bgcolor="#FBFBF9" class="xhx">
    <asp:TextBox ID="txtBuy" runat="server" Width="454px"></asp:TextBox></td>
  </tr>
  <tr>
    <td height="35" align="right" bgcolor="#f4f3ee" class="xhx">经营模式：</td>
    <td align="left" bgcolor="#FBFBF9" class="xhx">
        <asp:CheckBox ID="CheckBox1" runat="server" />生产型
        <asp:CheckBox ID="CheckBox2" runat="server" />贸易型
        <asp:CheckBox ID="CheckBox3" runat="server" />服务型
        <asp:CheckBox ID="CheckBox4" runat="server" />政府或其他机构    </td>
  </tr>
  <tr>
    <td height="35" align="right" bgcolor="#f4f3ee" class="xhx">员工人数：</td>
    <td align="left" bgcolor="#FBFBF9" class="xhx">
        <asp:DropDownList ID="DropDownList1" runat="server">
            <asp:ListItem Selected="True">--请选择--</asp:ListItem>
            <asp:ListItem>5人以下</asp:ListItem>
            <asp:ListItem>5-10人</asp:ListItem>
            <asp:ListItem>11-50人</asp:ListItem>
            <asp:ListItem>51-100人</asp:ListItem>
            <asp:ListItem>101-200人</asp:ListItem>
            <asp:ListItem>201-300人</asp:ListItem>
            <asp:ListItem>301-500人</asp:ListItem>
            <asp:ListItem>501-1000人</asp:ListItem>
            <asp:ListItem>1000人以上</asp:ListItem>
    </asp:DropDownList></td>
  </tr>
  <tr>
    <td height="35" align="right" bgcolor="#f4f3ee" class="xhx"><span class="ff">*</span>企业类型：</td>
    <td align="left" bgcolor="#FBFBF9" class="xhx"><asp:DropDownList ID="DropDownList2" runat="server">
        <asp:ListItem Selected="True" Value="--请选择--">--请选择--</asp:ListItem>
        <asp:ListItem Value="个体工商户">个体工商户</asp:ListItem>
        <asp:ListItem Value="私营独资企业">私营独资企业</asp:ListItem>
        <asp:ListItem Value="私营有限责任公司">私营有限责任公司</asp:ListItem>
        <asp:ListItem Value="私营股份有限公司">私营股份有限公司</asp:ListItem>
        <asp:ListItem Value="国有企业">国有企业</asp:ListItem>
        <asp:ListItem Value="集体企业">集体企业</asp:ListItem>
        <asp:ListItem Value="股份合作企业">股份合作企业</asp:ListItem>
        <asp:ListItem Value="联营企业">联营企业</asp:ListItem>
        <asp:ListItem Value="国有独资公司">国有独资公司</asp:ListItem>
        <asp:ListItem Value="其他有限责任公司">其他有限责任公司</asp:ListItem>
        <asp:ListItem Value="股份有限公司">股份有限公司</asp:ListItem>
        <asp:ListItem Value="其他内资企业">其他内资企业</asp:ListItem>
        <asp:ListItem Value="中外合资经营">中外合资经营</asp:ListItem>
        <asp:ListItem Value="中外合作经营">中外合作经营</asp:ListItem>
        <asp:ListItem Value="外商独资" >外商独资</asp:ListItem>
    </asp:DropDownList></td>
  </tr>
  <tr>
    <td height="35" align="right" bgcolor="#f4f3ee" class="xhx">企业简介：</td>
    <td align="left" bgcolor="#FBFBF9" class="xhx">
    <asp:TextBox ID="txtContent" runat="server" Height="102px" Width="470px" TextMode="MultiLine"></asp:TextBox></td>
  </tr>
  <tr>
    <td height="35" colspan="2" bgcolor="#e1f0ff" class="xhx" style="padding-left:30px ;font-size:14px;"><strong>--联系人信息--</strong></td>
  </tr>
  <tr>
    <td height="35" align="right" bgcolor="#f4f3ee" class="xhx"><span class="ff">*</span>联系人：</td>
    <td align="left" bgcolor="#FBFBF9" class="xhx">
      <asp:TextBox ID="txtConnecter" runat="server" Width="220px"></asp:TextBox>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtConnecter"
            Display="Dynamic" ErrorMessage="请输入联系人名称！"></asp:RequiredFieldValidator></td>
  </tr>
  <tr>
    <td height="35" align="right" bgcolor="#f4f3ee" class="xhx">部门：</td>
    <td align="left" bgcolor="#FBFBF9" class="xhx">
    <asp:TextBox ID="txtDept" runat="server" Width="220px"></asp:TextBox></td>
  </tr>
  <tr>
    <td height="35" align="right" bgcolor="#f4f3ee" class="xhx">职位：</td>
    <td align="left" bgcolor="#FBFBF9" class="xhx">
    <asp:TextBox ID="txtJobTitle" runat="server" Width="220px"></asp:TextBox></td>
  </tr>
  <tr>
    <td height="35" align="right" bgcolor="#f4f3ee" class="xhx"><span class="ff">*</span>电话：</td>
    <td align="left" bgcolor="#FBFBF9" class="xhx">
      <asp:TextBox ID="txtPhone" runat="server" Width="220px"></asp:TextBox>
   <%-- <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtPhone"
            Display="Dynamic" ErrorMessage="请输入电话！"></asp:RequiredFieldValidator></td>--%>
  </tr>
  <tr>
    <td height="35" align="right" bgcolor="#f4f3ee" class="xhx">传真：</td>
    <td align="left" bgcolor="#FBFBF9" class="xhx">
    <asp:TextBox ID="txtFax" runat="server" Width="220px"></asp:TextBox></td>
  </tr>
  <tr>
    <td height="35" align="right" bgcolor="#f4f3ee" class="xhx"><span class="ff">*</span>手机：</td>
    <td align="left" bgcolor="#FBFBF9" class="xhx">
      <asp:TextBox ID="txtMobile" runat="server" Width="220px"></asp:TextBox>
   <%-- <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtMobile"
            Display="Dynamic" ErrorMessage="请输入手机！"></asp:RequiredFieldValidator></td>--%>
  </tr>
  <tr>
    <td height="35" align="right" bgcolor="#f4f3ee" class="xhx"><span class="ff">*</span>所在地区：</td>
    <td align="left" bgcolor="#FBFBF9" class="xhx">
    
   
            <asp:DropDownList ID="Ddl_AreaOne" runat="server" AppendDataBoundItems="True" AutoPostBack="True" OnSelectedIndexChanged="Ddl_AreaOne_SelectedIndexChanged">
                    <asp:ListItem Value="0">全部</asp:ListItem>
                </asp:DropDownList>&nbsp;
                <asp:DropDownList ID="Ddl_AreaTwo" runat="server" AppendDataBoundItems="True" AutoPostBack="True" OnSelectedIndexChanged="Ddl_AreaTwo_SelectedIndexChanged">
                    <asp:ListItem Value="0">全部</asp:ListItem>
               </asp:DropDownList>&nbsp;
                <asp:DropDownList ID="Ddl_AreaThree" runat="server" AppendDataBoundItems="True" >
                    <asp:ListItem Value="0">全部</asp:ListItem>
    </asp:DropDownList>
              </td>
  </tr>
  <tr>
    <td height="35" align="right" bgcolor="#f4f3ee" class="xhx">企业地址：</td>
    <td align="left" bgcolor="#FBFBF9" class="xhx">
    <asp:TextBox ID="txtAddress" runat="server" Width="352px"></asp:TextBox></td>
  </tr>
  <tr>
    <td height="35" align="right" bgcolor="#f4f3ee" class="xhx">邮政编码：</td>
    <td align="left" bgcolor="#FBFBF9" class="xhx">
    <asp:TextBox ID="txtZipCode" runat="server" Width="220px"></asp:TextBox></td>
  </tr>
  <tr>
    <td height="35" align="right" bgcolor="#f4f3ee" class="xhx"><span class="ff">*</span>电子邮箱：</td>
    <td align="left" bgcolor="#FBFBF9" class="xhx">
      <asp:TextBox ID="txtEmail" runat="server" Width="220px"></asp:TextBox>
    <%--<asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="txtEmail"
            Display="Dynamic" ErrorMessage="请输入电子邮件！"></asp:RequiredFieldValidator>--%></td>
  </tr>
  <tr>
            <td align="right" bgcolor="#f4f3ee" class="xhx" height="35" >
                <span style="color: #ff0000">*</span>QQ号码：</td>
            <td align="left" bgcolor="#fbfbf9" class="xhx">
                <asp:TextBox ID="txtQQ" runat="server" Width="220px" onkeyup="javascript:if(isNaN(document.all['txtQQ'].value)){alert('请输入有效的QQ');this.value='';return false;}"></asp:TextBox>
                <%--<asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="txtQQ"
                    Display="Dynamic" ErrorMessage="请输入QQ！"></asp:RequiredFieldValidator>--%>
                    
                    </td>
        </tr>
  <tr>
    <td height="35" align="right" bgcolor="#f4f3ee" class="xhx">企业网址：</td>
    <td align="left" bgcolor="#FBFBF9" class="xhx">http://
    <asp:TextBox ID="txtUrl" runat="server" Width="190px"></asp:TextBox></td>
  </tr>
  <tr>
    <td height="40" align="right" bgcolor="#f4f3ee">&nbsp;</td>
    <td align="left" bgcolor="#FBFBF9">&nbsp;
    <asp:Button ID="btnUpdateMemberInfo" runat="server" Text="确定发布" OnClick="btnUpdateMemberInfo_Click" /></td>
  </tr>
</table>
    </TD></TR></FORM></TBODY></TABLE></DIV></TD></TR></TBODY></TABLE>
           <uc3:uBottom ID="uBottom1" runat="server" />

    </form>
</body>
</html>
